package cn.com.wms.Base;

/**
 * ClassName: FilterItem 
 * @Description: TODO  对应的查询条件类
 * @author chj
 * @date 2017年5月23日
 */
public class FilterItem {
	
	/** 对应表的别名 **/
	private String alias;
	/** 需要过滤字段的名字 **/
	private String filterName;
	/** 需要过滤字段的值 **/
	private Object filterValue;
	/** 逻辑运算符() **/
	private int operation;
	
	public FilterItem(String filterName, Object filterValue, int operation) {
		this.filterName = filterName;
		this.filterValue = filterValue;
		this.operation = operation;
	}
	
	public FilterItem(String alias,String filterName, Object filterValue, int operation) {
		this.alias = alias;
		this.filterName = filterName;
		this.filterValue = filterValue;
		this.operation = operation;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}
	
	public String getFilterName() {
		return filterName;
	}

	public Object getFilterValue() {
		return filterValue;
	}

	public int getOperation() {
		return operation;
	}
}
